package cn.cvs.service;

import cn.cvs.pojo.Role;
import cn.cvs.pojo.SysUser;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysUserService {
    List<SysUser> selectSysUserList(SysUser sysUser);
    int addRole(Role role);
    int updateRole(@Param("id") Integer id, @Param("roleName") String roleName);
    int deleteRole(@Param("id") Integer id);
    List<Role> selectRole(@Param("roleName") String roleName);

    int updateSupplier(@Param("id") Integer id,@Param("supName") String supName);
    int deleteSupplier(@Param("id") Integer id);
}
